@import '@/style/variable.scss';
@import '@/style/hairline.scss';

page {
  height: 100%;
  background-color: #faf7fa;
}

.container{
  padding-bottom: 130px;
}
.box {
  box-sizing: border-box;
  padding: 34px 32px;
  background-color: $white-color;
}

.header {
  max-height: 190px;
  background: $primary;
  padding: 0 24px;
  .order-tab-content {
    background-color: $white-color;
    border-radius: 30px;
    // margin: 0 24px;
  }

  
  .table__content {
    text-align: center;
    height: 196px;
    padding: 30px 0;
    &.other {
      height: 270px;
      border-radius: 30px;
    }
    .pick_name {
      padding: 0 32px;
      font-size: 32px;
      text-align: left;
    }
    .pick_address {
      padding: 20px 32px 10px;
      font-size: 24px;
      color: #3B3B3B;
      text-align: left;
    }
    .pick_time {
      padding: 0px 32px;
      font-size: 22px;
      text-align: left;
      color: #414141;
    }
    .table__title {
      font-size: $font-size-md;
      color: $color;
    }
    .table__text {
      padding-left: 40px;
      text-align: left;
      font-size: $default-font-size;
      color: $color;
      &.address {
        font-size: $font-size-xlg;
        font-weight: bold;
      }
      &.name {
        margin-top: 6px;
        color: $gray-7;
      }
    }
    .table__select {
      display: flex;
      margin-top: 20px;
      line-height: 52px;
      justify-content: center;
      font-size: $font-size-md;
      color: $primary;
    }
    .table__number {
      margin-top: 15px;
      font-size: 48px;
      color: $color;
    }
  }
}

.goods__box {
  margin-top: 110px;
  .goods__list{
    margin-top:10px;
  }
  .ordered {
    margin-bottom: 10px;
    font-size: $font-size-md;
    font-weight: bold;
    color: $color;
  }
  .goods__more {
    padding-top: 22px;
    margin-top: 40px;
    text-align: center;
    font-size: $sm-font-size;
    color: $grey;
    border-color: #F8F8F8;
    padding-bottom: 5px
  }
}

.other_price {
  margin-top: 24px;
  .row {
    display:flex;
    justify-content: space-between;
    margin-bottom: 14px;
    &:last-child {
      margin-bottom: 0px;
    }
    .label{
      font-size:$default-font-size;
      color:$color;
      width:150px;
    }
    .price{
      font-size:$default-font-size;
      color:#8C8C8C;
    }
  }
}

.people__number {
  margin-top: 24px;
  display:flex;
  .label{
    font-size:$default-font-size;
    color:$color;
    width:150px;
  }
  .ipt{
    font-size:$default-font-size;
    color:#8C8C8C;
  }
}
.note {
  margin-top: 24px;
  .note-textarea {
    width: 100%;
    height: 100px;
  }
}

.order__info{
  margin-top: 24px;
  .order__item{
    display: flex;
    height:60px;
    line-height: 60px;
  }
  .label{
    flex: 1;
    font-size:$default-font-size;
    color:#949494;
  }
  .val{
    font-size:$default-font-size;
    color:$color;
    text-align: right;
    width:180px;
  }

  .order__price{
    text-align: right;
    color:$color;
    font-size:$default-font-size;
    padding-top:26px;
    .price{
      color:$primary;
    }
  }
}



.cart__bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100rpx;
  background: $white-color;
  display: flex;
  align-items: center;
  justify-items: center;
  z-index: 9999;
  box-shadow: rgba(0, 0, 0, 0.4) 1px 2px 10px 0;
  .checkout{
    height: 100px;
    width: 236px;
    text-align: center;
    line-height: 100px;
    font-size: $font-size-md;
    font-weight: normal;
    background: $primary;
    color: $white-color;
    border-radius: 0;
  }
  .total {
    flex: 1;
    font-size: $font-size-md;
    padding-left: 30px;
    color: #666;
    position: relative;
  }

  .total__number {
    font-size: 30rpx;
    vertical-align: -2rpx;
  }
  .total__coupon {
    color: #6f6f6f;
    font-size: 22rpx;
    vertical-align: -2rpx;
  }

  .total__number .y {
    color: $primary;
    font-size: 28rpx;

  }
}
.scan-wrap {
  .table__title {
    font-size: $default-font-size!important;
  }
  .xxm-btn-scan {
    background-color: $white-color;
    color: $primary;
    border-color: $primary;
    border-radius: 8px;
    height: 72px;
    padding: 0 40px;
    margin-top: 20px;
  }
  
}


